<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

Route::get('think', function () {
    return 'hello,ThinkPHP5!';
});

Route::get('hello/:name', 'index/hello');

// 首页
Route::rule('admin', 'admin/index/index');
Route::rule('welcome', 'admin/index/welcome');

// 登录
Route::rule('login', 'admin/login/login');
Route::rule('logout', 'admin/login/logout');


// 管理员
Route::rule('admin/admin', 'admin/admin');
Route::rule('adminList', 'admin/admin/adminList');
Route::rule('adminAdd', 'admin/admin/adminAdd');
Route::rule('adminEdit', 'admin/admin/adminEdit');
Route::rule('adminDel', 'admin/admin/adminDel');
Route::rule('adminActive', 'admin/admin/adminActive');

Route::rule('adminRole', 'admin/admin/adminRole');
Route::rule('adminRoleAdd', 'admin/admin/adminRoleAdd');

Route::rule('adminRule', 'admin/admin/adminRule');
Route::rule('adminRuleAdd', 'admin/admin/adminRuleAdd');

Route::rule('adminShow', 'admin/admin/adminShow');


return [

];
